<%-- 
    Document   : forgotPassword
    Created on : May 26, 2012, 5:50:17 PM
    Author     : Owner
--%>

<%@include file="/jsp/top.jsp" %>

<html>
    <head>        
        <title>Forgot Password</title>
    </head>
    <body class="user-forgotpassword">
        <div class="clear"></div>
        <table cellspacing="5px" width="100%" align="center">
            <tr>
                <td>
                    <table cellspacing="5px" width="100%" align="center">
                        <tr>
                            <td style="vertical-align: top;" width="20%"><%@include file="/jsp/right.jsp" %></td>
                            <td style="vertical-align: top;" width="80%">
                                <div class="account-forgotpassword default">
                                    <div class="page-title"><h1>Forgot Password</h1></div>
                                    <html:form action="/userAccount" method="post">

                                        <div class="fieldset">
                                            <p>If your Email Id exist in our records, your password would be reset & new password will be mailed to you.</p>
                                            <div class="form-table">
                                                <table border="0" width="100%" align="center">
                                                    <tr class="field email">
                                                        <td align="right"><bean:message key="user.email"/><em>*</em></td>
                                                        <td class="input-box"  align="center"><html:text property="emailId" size="30"/></td>
                                                    </tr>
                                                    <tr><td colspan="2" align="center"><html:errors property="errEmail"/></td></tr>
                                                    <tr class="field securityquestion">
                                                        <td align="right"><bean:message key="user.securityquestion"/><em>*</em></td>
                                                        <td align="center" class="input-box"><html:select property="securityQuestion" style="width:200px" >
                                                                <html:option value="0">--- Select ---</html:option>
                                                                <html:options collection="securityQuestionMap" property="key" labelProperty="value"/>
                                                            </html:select>
                                                        </td>
                                                    </tr>
                                                    <tr><td colspan="2" align="center"><html:errors property="errSecurityQuestion"/></tr>
                                                    <tr class="field answer">
                                                        <td align="right"><bean:message key="user.answer"/><em>*</em></td>
                                                        <td class="input-box"  align="center"><html:text property="answer" size="30"/></td>
                                                    </tr>
                                                    <tr><td colspan="2" align="center"><html:errors property="errAnswer"/></td></tr>
                                                </table>
                                                <div id="errdividfp" >
                                                    <span id="errspanidfp"></span>
                                                    <html:errors property="errForgotPassword"/>
                                                </div>
                                                <p class="required"><em>* Required Fields</em></p>
                                            </div>

                                            <div class="buttons-set forgotpassword">
                                                <a class="loginaccount" href="./userAccount.do?action=showUserLogin">Go Back to Login</a>
                                                <a class="forgotpassword" style="float:right;" onclick="javascript:return validateForgotPassword('./userAccount.do?action=forgotPassword','userBean')"><img src="images/submit.png" alt="Login Button" onmouseover="src='images/submit-hover.png'" onmouseout="src='images/submit.png'"/></a>
                                            </div>
                                        </div>
                                    </html:form>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td><%@include file="/jsp/footer.jsp" %></td>
            </tr>
        </table>


    </body>
</html>
